package com.itsu.service;

import com.github.pagehelper.PageInfo;
import com.itsu.domain.Dept;

import java.util.List;

public interface DeptService {

    void save(Dept dept);

    void delete(Dept dept);

    void update(Dept dept);

    Dept findById(String id);

    List<Dept> findAll();

    PageInfo<Dept> findAll(int pageNum, int pageSize);
}
